﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Urination
{
    public interface IUrination
    {
        void AddUserUrinaiton(int userId, DateTime clientDatetime,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void AddUserUrination(Model.User user,DateTime clientDateTime,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemoveUserUrination(int urinationId,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemoveUserUrination(Model.Urination urination,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        List<DateTime> GetAllUrinationInADay(int userId,DateTime clientDateTime,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        int GetUrinationCountInADay(int userId,DateTime clientDateTime,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        int GetUrinationCount(int userId,DateTime clientDateTime,DateTime clientDateTimeEnd,ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

    }
}